/*
	--this is a special file in MD3
	--this will always run from the context of master and is the FIRST FILE run.  
	--this will always attempt to create the database you specify, if it does not already exist.  
	--sometimes this is a desired functionality, and sometimes it isn't.  If you don't like this behavior then simply DELETE
		the file.  
	--if you decide to use this file then you will need to modify it to fit the unique requirements of your project (drive layouts, 
		recovery mode, filegroups, etc)
	--You can always build the database yourself, in which case this script does nothing.  


DO NOT RENAME THIS FOLDER OR FILE
IF YOU DO YOU NEED TO CHANGE RunMD3.ps1

Note that this will also run as the first (or one of the first) files when MD3 runs, but in the context of the given db you call MD3 for.
So, this script runs twice.  You can therefore embed master only logic and db-specific logic here, just check db_name() first

*/
SET NOCOUNT ON 

--IF NOT EXISTS (SELECT 1 FROM master..sysdatabases WHERE NAME = 'NETNEW')
--BEGIN
--	PRINT 'Database was not found.  Creating...'	
--	DECLARE @SQL varchar(4000)

--	SELECT @SQL = 'CREATE DATABASE NETNEW;'
--	PRINT @SQL 
--	EXEC(@SQL)
--END
--ELSE
--BEGIN
--	PRINT 'Database exists.'
--END;
GO
